package com.xygz.orm.constants;

import com.xiyuan.smartutils.constants.AsciiConstants;

import java.util.*;

/**
 * the description for class ORMConstants
 *
 * @author xiyuan-lgz 2023-09-18 @version v1.0.0 新建与整理
 */
@SuppressWarnings("all")
public interface ORMConstants extends AsciiConstants {
    public static final Map<String, String> EMPTY_MAP = new HashMap<String, String>(0);
    public static final List EMPTY_LIST = Collections.unmodifiableList(new ArrayList(0));
    public static final String JNDI = "jndi";                      // JNDI
    public static final String SQL_ESCAPE = "%";
    public static final String SQL_ESCAPE_PREPARED = "\\%";
    public static final String DOT = ".";
    public static final String SPACE = " ";
    public static final String COMMA = ",";
    public static final String BRACKET_L = "(";
    public static final String BRACKET_R = ")";
    public static final String Q = "?";
    public static final String ASTERISK = "*";
    public static final String WHERE_TRUE = "1 = 1";
    public static final String SEMICOLON = ";";
    
    public static final String LIMIT = "LIMIT";
    
    public static final String _ORM_COL_ROW_NUM_ = "_ORM_COL_ROW_NUM_";
    public static final String _ORM_COL_COUNT_ = "_ORM_SQL_COUNT_COL_";
    public static final String _ORM_TAB_ = "_ORM_TAB_";
    
    public static final String _ORM_AUTO_GENERATED_KEYS_BATCH_TABLE = "SMT_ORM_AUTO_GENERATED_KEYS";
    
}
